<%@ page import="MyBean.patient" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style type="text/css">a {text-decoration: none}</style>
</head>
<body {
	background="img/注册.png " ;
	style=" background-repeat:no-repeat ;
    background-size:100% 100%; 
    background-attachment: fixed;" 
} >

	<% request.setCharacterEncoding("utf-8");
patient patient1 = (patient)request.getAttribute("patient2");
float all = (float)request.getAttribute("all1");
%>
<hr>
<center>
<h1>
<font size="3" color="red">田园住院系统</font>
<font size="3" color="purple">出院结算界面</font>
</h1>
<h2>祝您身体健康，一路顺风！</h2>
</center>
<hr>
<br><br>
<table border="1" align="center">
<tr>
<th>住院号</th><th>病人姓名</th><th>性别</th><th>年龄</th><th>身份证号</th><th>手机号码</th><th>住院时间</th><th>出院时间</th><th>总费用</th>
</tr>
<tr>

<th><%=patient1.getAdmissionNumber() %></th><th><%=patient1.getPatientName() %></th><th><%=patient1.getSex() %></th><th><%=patient1.getAge() %></th><th><%=patient1.getPatientNumber() %></th><th><%=patient1.getPhone() %></th><th><%=patient1.getStartTime() %></th><th><%=patient1.getEndTime() %></th><th><%=all %></th>
</tr>
<tr><th align="center" colspan="9"><a href="index.jsp">返回主界面</a></th></tr>
</table>

<br>
<hr>
<center><em><p style="background:yellow">Copyright &copy; 2020 TianYuan Web Hospital,Nuc.<h1></em></center>
</body>
</html>